﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    public class tbSach
    {
        private int maSach;

        public int MaSach
        {
            get { return maSach; }
            set { maSach = value; }
        }
        private string tenSach;

        public string TenSach
        {
            get { return tenSach; }
            set { tenSach = value; }
        }
        private int maCD;

        public int MaCD
        {
            get { return maCD; }
            set { maCD = value; }
        }
        private int maTG;

        public int MaTG
        {
            get { return maTG; }
            set { maTG = value; }
        }

        private int maNXB;

        public int MaNXB
        {
            get { return maNXB; }
            set { maNXB = value; }
        }

        private string hinhMinhHoa;

        public string HinhMinhHoa
        {
            get { return hinhMinhHoa; }
            set { hinhMinhHoa = value; }
        }

        private int donGia;

        public int DonGia
        {
            get { return donGia; }
            set { donGia = value; }
        }
        private string moTa;

        public string MoTa
        {
            get { return moTa; }
            set { moTa = value; }
        }
        private DateTime ngayCapNhat;

        public DateTime NgayCapNhat
        {
            get { return ngayCapNhat; }
            set { ngayCapNhat = value; }
        }
        private int soLuongBan;

        public int SoLuongBan
        {
            get { return soLuongBan; }
            set { soLuongBan = value; }
        }
        private int soLanXem;

        public int SoLanXem
        {
            get { return soLanXem; }
            set { soLanXem = value; }
        }

        public enum tbSachColumns
        { 
            MaSach,
            TenSach,
            MaCD,
            MaTG,
            MaNXB,
            HinhMinhHoa,
            DonGia,
            MoTa,
            NgayCapNhat,
            SoLuongBan,
            SoLanXem
        }
        public class tbSachCollection:List<tbSach>{}
	
	
    }
    
}
